package com.zatech.cgnci.project.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;
import lombok.experimental.Accessors;

/**
 * <p>
 * 承保统计表
 * </p>
 *
 * @author Generator
 * @since 2025-05-19
 */
@Getter
@Setter
@Accessors(chain = true)
@TableName("cgnci_business_stat")
@ApiModel(value = "CgnciBusinessStatDO对象", description = "承保统计表")
public class CgnciBusinessStatDO implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty("统计ID")
    @TableId(value = "stat_id", type = IdType.ASSIGN_ID)
    private Long statId;

    @ApiModelProperty("业务ID")
    private Long businessId;

    @ApiModelProperty("险类")
    private String riskClass;

    @ApiModelProperty("险类编码")
    private String riskClassCode;

    @ApiModelProperty("险种")
    private String riskSubType;

    @ApiModelProperty("险种编码")
    private String riskSubTypeCode;

    @ApiModelProperty("承接比例")
    private BigDecimal shareRatio;

    @ApiModelProperty("承接限额")
    private BigDecimal shareLimit;

    @ApiModelProperty("分出比例")
    private BigDecimal cededRatio;

    @ApiModelProperty("分出限额")
    private BigDecimal cededLimit;

    @ApiModelProperty("自留比例")
    private BigDecimal retentionRatio;

    @ApiModelProperty("自留限额")
    private BigDecimal retentionLimit;

    @ApiModelProperty("创建时间")
    private Date createTime;

    @ApiModelProperty("创建人")
    private String createUser;

    @ApiModelProperty("更新时间")
    private Date updateTime;

    @ApiModelProperty("更新人")
    private String updateUser;


}
